module.exports = Behavior({
    behaviors: ['wx://form-field-group'],
    properties: {
        name: String,
        value: null,
        placeholder: String,
        option: null
    },
    methods: {
        change({ detail: { value } }){
            this.setData({ value })
            this.triggerEvent('change', value)
        }
    }
})